package controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import entity.Configure;
import service.ConfigureService;

@Controller
@RequestMapping("/configure")
public class ConfigureController {

	@Autowired
	ConfigureService service;
	
	@RequestMapping("/find")
	public void find() {
		List<Configure> list = service.find();
		for (Configure configure : list) {
			System.out.println(configure.toString());
		}
	}
	
}
